package com.aaa.entity;

public class Card {
    /**
     * 本表属性
     */
    private Integer id;
    private Integer cardId;
    private Integer userId;
    private Double amount;
    private Integer credit;
    private Integer status;
    private Integer staffId;
    private Integer levelId;
    /**
     * 会员充值列表所需要的属性
     */
    private String userName;
    //会员卡等级名称
    private String cardTypeName;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCardId() {
        return cardId;
    }

    public void setCardId(Integer cardId) {
        this.cardId = cardId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Integer getCredit() {
        return credit;
    }

    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStaffId() {
        return staffId;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    public Integer getLevelId() {
        return levelId;
    }

    public void setLevelId(Integer levelId) {
        this.levelId = levelId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCardTypeName() {
        return cardTypeName;
    }

    public void setCardTypeName(String cardTypeName) {
        this.cardTypeName = cardTypeName;
    }

    @Override
    public String toString() {
        return "Card{" +
                "id=" + id +
                ", cardId=" + cardId +
                ", userId=" + userId +
                ", amount=" + amount +
                ", credit=" + credit +
                ", status=" + status +
                ", staffId=" + staffId +
                ", levelId=" + levelId +
                ", userName='" + userName + '\'' +
                ", cardTypeName='" + cardTypeName + '\'' +
                '}';
    }
}
